package ftl.games.piratas;


import org.anddev.andengine.entity.sprite.AnimatedSprite;
import org.anddev.andengine.opengl.texture.region.TiledTextureRegion;

public class Casa extends Inmueble {
	public int estado = EstadoCasa.NORMAL;
	
	
	public Casa(float pX, float pY, float pTileWidth, float pTileHeight,TiledTextureRegion pTiledTextureRegion) {
		super(pX, pY, pTileWidth, pTileHeight, pTiledTextureRegion);
	}

	public Casa(final float pX, final float pY, final TiledTextureRegion pTextureRegion) {
        super(pX, pY, pTextureRegion);
	}
	
	public void Pedir()
	{
		this.setCurrentTileIndex(1);
		this.estado = EstadoCasa.PIDIENDO;
	}
	public void Recibir()
	{
		this.setCurrentTileIndex(0);
		this.estado = EstadoCasa.NORMAL;
	}
	
}
